import layout from '@/views/gameDeploy/module/Layout'
export default [
  {
    path: '/gameDeploy',
    name: 'gameDeploy',
    component: () => import('@/views/gameDeploy/lis'),
    affiliation: 'main',
    meta: { title: '模型应用', icon: 'icon6', name: 'gameDeploy' },
  },
  {
    path: '/gameDeploy/detail',
    name: 'deploydetail',
    component: () => import('@/views/gameDeploy/detail'),
    // affiliation: 'main',
    meta: { title: '模型部署', icon: 'icon6', name: 'gameDeploy' },
  },
  {
    path: '/gameDeploy',
    name: 'gameDeploy',
    component: layout,
    // affiliation: 'main',
    meta: { title: '模型部署', icon: 'icon6', name: 'gameDeploy' },
    children: [
      {
        path: 'code',
        name: 'deploycode',
        component: () => import('@/views/gameDeploy/code'),
        meta: { 
          title: '概览',
          icon: 'nav-menu-icon1', 
          affiliation: "gameDeploy" 
        }
      },
      {
        path: 'file',
        component: () => import('@/views/gameDeploy/file'),
        name: 'deployfile',
        meta: { 
          title: '工作区文件', 
          icon: 'nav-menu-icon1', 
          affiliation: "gameDeploy" 
        }
      },
      {
        path: 'log',
        component: () => import('@/views/gameDeploy/log'),
        name: 'deploylog',
        meta: { 
          title: '监控', 
          icon: 'nav-menu-icon1', 
          affiliation: "gameDeploy" 
        }
      },
      {
        path: 'podUrl',
        component: () => import('@/views/gameDeploy/podUrl'),
        name: 'deployPodUrl',
        meta: { 
          title: '节点信息', 
          icon: 'nav-menu-icon1', 
          affiliation: "gameDeploy" 
        }
      }
    ]
  },
]
